package com.jspgou.cms.dao;

import java.util.List;

import com.jspgou.common.hibernate3.Updater;
import com.jspgou.common.page.Pagination;
import com.jspgou.cms.entity.StoreModel;

public interface StoreModelDao {
	public Pagination getPage(int pageNo, int pageSize);

	public StoreModel findById(Long id);
	
	public List<StoreModel> getList();
	
	public StoreModel getByDefaultModel(Boolean defaultModel);

	public StoreModel save(StoreModel bean);

	public StoreModel updateByUpdater(Updater<StoreModel> updater);

	public StoreModel deleteById(Long id);
}